#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_PartnerEquipData.nanopb.h"
#ifndef MAX_PARTNEREQUIPDATA_PARTNEREQUIPSTONECOMPOSEDATA_NUM
#define MAX_PARTNEREQUIPDATA_PARTNEREQUIPSTONECOMPOSEDATA_NUM 30
#endif

class PartnerEquipStoneComposeDesc : public NFI_DESC_TEMPLATE_MACRO(PartnerEquipStoneComposeDesc, E_PartnerEquipStoneCompose, EOT_CONST_PARTNEREQUIPDATA_PARTNEREQUIPSTONECOMPOSEDATA_DESC_ID, MAX_PARTNEREQUIPDATA_PARTNEREQUIPSTONECOMPOSEDATA_NUM)
public:
	PartnerEquipStoneComposeDesc();
	virtual ~PartnerEquipStoneComposeDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
